total = 10

a = 2

b = 4
d = a + b
c = total - d

print("小a和小b一共拿走了 %d 个苹果" % d)
print('小c 可以拿走 %d 个苹果' % c)
